﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

using Orchard.Environment.Extensions;

namespace FruitCake.ContactPage.ViewModels
{
    [OrchardFeature("FruitCake.ContactPage")]
    public class ContactPageFormViewModel
    {
        [Required]
        [StringLength(255)]
        public String Name { get; set; }

        [Required]
        [StringLength(255)]        
        public String Mail { get; set; }

        [Required]
        public String ReasonIndex { get; set; }

        [Required]
        public String Subject { get; set; }

        [Required]
        public String Text { get; set; }
    }
}
